package com.video.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties("interfaceurl")
public class InterfaceUrl {
    private String REQUEST_URL = "https://open.ys7.com/api/lapp/token/get";
    private  String VIDO_URL = "https://open.ys7.com/api/lapp/live/video/list";

    public String getVIDO_URL() {
        return VIDO_URL;
    }

    public void setVIDO_URL(String VIDO_URL) {
        this.VIDO_URL = VIDO_URL;
    }

    public String getREQUEST_URL() {
        return REQUEST_URL;
    }

    public InterfaceUrl() {
    }



    public void setREQUEST_URL(String REQUEST_URL) {
        this.REQUEST_URL = REQUEST_URL;
    }

    public InterfaceUrl(String REQUEST_URL, String VIDO_URL) {
        this.REQUEST_URL = REQUEST_URL;
        this.VIDO_URL = VIDO_URL;
    }
}
